Hence, three linearly independent equations have been derived that can be solved simultaneously yielding values for and
Note that after solving, it sometimes works out that . This result implies that the direction for current that was arbitrarily chosen was incorrect. All you need to do is reverse the direction of this current. This change does not affect the other calculations.